home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Everything For A Hacker
/
19990506-[HACK].iso
/
ANTIVIR
/
nav
/
NAVDOSWN
/
UNINSTAL.IN$
/
UNINSTAL.INF
Wrap
INI File
|
1998-05-21
|
10KB
|
349 lines
;**************************************************************************
;* Norton AntiVirus UnInstall Script *
;**************************************************************************
[InstallVersion]
4.0
[WindowsVersion]
3.10
"The Norton AntiVirus UnInstall"
"requires Microsoft Windows version 3.1"
"or greater."
[Process]
; Should always be first line
Uninstall()
AllowIntlChars()
SetActiveCopy(UnCopyNav, uninstal.inf)
FullUninstall()
SelectOption(BaseFiles)
ResetTarget(TargetToSource)
switch55 = MessageYesNo(MessageUnInstall)
#if (switch55)
Backup(SIWCustCopy)
SilentModifyTF(ModifyConfigSys)
CallProc(UnloadNav)
Delete(ForceUseOfWindowsDirectory)
CallProcEx(SetSystemTarget)
switch21 = CallProcEx(SIWIsNavwLoaded)
#if(switch21)
MessageBox(MessageNavIsLoaded)
Delete(CleanupCustDLL)
Exit()
#endif
CallProcEx(SIWRestoreNetscapeIni)
CallProcEx(DecreaseLiveUpdateCount)
; this line removes the loading of navtsrw.exe in the win.ini
RemoveFromLoad(RemNAVTSRW)
Uncopy()
switch22 = MessageCancel(ByeUnInstallSuccess)
; Remove Groups in Windows Shell Program
Groups()
CallProcEx(SIWRemoveSourceDir)
Delete(CleanupCustDLL)
#if (switch22)
ExitReboot()
#else
Exit()
#endif
#else
Exit()
#endif
;**************************************************************************
;* Set Shell section *
;**************************************************************************
[SetShell]
;AppIniName = nav.ini
WinIniName = win.ini
SystemIniName = system.ini
Message = MessageBox.SetShellMessage
SysSectionName = boot
WinSectionName = windows
shell = %s\setup.exe
load =
run =
SetShellIfLoaded=
Backup = Backup.SetShellSave
Restore = Backup.SetShellRestore
Active = No
IfActiveList =
SubProcess =
[SetShellSave]
win.ini, win.$nn, WINDOWS
system.ini, system.$nn, WINDOWS
[SetShellRestore]
system.$nn, system.ini, WINDOWS
win.$nn, win.ini, WINDOWS
[SetShellMessage]
caption = "Norton AntiVirus -- Install"
"Welcome to the Norton AntiVirus"
"install program. Please press OK to allow"
"Setup to restart Windows and continue the"
"installation. Press Cancel to exit."
;**************************************************************************
;* Backup *
;**************************************************************************
[SIWCustCopy]
siwcust.dll, siwcust.dll, SOURCE, WINDOWS
;**************************************************************************
;* Cleanup *
;**************************************************************************
[CleanupCustDLL]
siwcust.dll, WINDOWS
;**************************************************************************
;* Copy *
;**************************************************************************
[UnCopyNav]
;seltype.component, description, size,req,files,show
CopyMain.BaseFiles, "Norton AntiVirus", 0, N, N, N
CopyMain.Selective, "Selective uninstall", 0, N, N, N
[UnCopyNav:CopyDialog]
caption = "Deleting Files..."
posx = -10
posy = -10
[UnCopyNav:Advo]
x-position = 5
y-position = 5
location = siwadvo.dll
count = 1
;[AdvoDefault]
;posx = 20
;posy = 80
;text = AdvoText
;
;[AdvoText]
;"Be sure to fill out your registration"
;"card. This will allow Symantec to contact"
;"you about future product updates."
[RemoveBrowserInfo]
IniName=win.ini
SectionName=NortonAntiVirus
Browser=1
;**************************************************************************
;* Groups *
;**************************************************************************
[Groups]
"Norton AntiVirus", nav40.grp
[Norton AntiVirus]
"Norton AntiVirus", navw.exe, BaseFiles, ,TARGET
"Norton Scheduler", schedule.exe, BaseFiles, ,TARGET
"Norton AntiVirus Auto-Protect", navtsrw.exe, BaseFiles, ,TARGET
"Norton AntiVirus Uninstall", setup.exe, BaseFiles, ,TARGET , , , "/u"
"Create Rescue Disks", rescuew.exe, BaseFiles, ,TARGET
;**************************************************************************
;* Dialogs/Message box text *
;**************************************************************************
[ByeShell]
caption = "Norton AntiVirus -- Install Complete"
""
"This concludes the installation of Norton AntiVirus."
"Please review the README.TXT file for last minute updates to the"
"documentation."
""
"In order to reset the Windows environment, Setup will now close"
"Windows."
[ByeCancelInstall]
caption = "Norton AntiVirus"
"You have cancelled the installation"
"of Norton AntiVirus."
[ByeNoSel]
caption = "Norton AntiVirus"
""
""
"Because no items were selected for"
"installation, this may be an incomplete"
"install of Norton AntiVirus"
[ExitMessage]
caption = "Norton AntiVirus"
"Because no items were selected for"
"installation, this may be an incomplete"
"install of Norton AntiVirus"
""
"Press OK to return to your Windows session."
[Errors]
noprev = "Symantec Install for Windows is already running!"
[FileCopy]
copycaption = "Norton AntiVirus -- Install"
errorcaption = "Error Copying Files"
insertcaption = "Insert Diskette"
Message = MessageText
[Cancel]
caption = "Norton AntiVirus -- Install"
text = "Are you sure you want to exit?"
[CancelShell]
caption = "Norton AntiVirus -- Install"
text = "When you cancel Setup, Windows will exit so that we can reset the Windows environment."
"Are you sure you want to exit?"
;**************************************************************************
;* This message is for when the user tries to uninstal with NAV loaded *
;**************************************************************************
[MessageNavIsLoaded]
caption = "Norton AntiVirus Clinic Loaded"
"You must exit the Norton AntiVirus Clinic before running uninstall."
;**************************************************************************
;* This message is for when we can't locate the NETSCAPE.INI file *
;**************************************************************************
[MessageNoNetscapeIni]
caption = "Updating NETSCAPE.INI"
"The uninstall program cannot find the NETSCAPE.INI file."
""
"If Norton AntiVirus is installed as a Netscape helper application, you must manually remove the helper application file format mappings in Netscape."
""
"For details, refer to Help in the General Preferences | Helpers dialog box in Netscape."
;**************************************************************************
;* This is the ending message where we say it was successful. *
;**************************************************************************
[ByeUnInstallSuccess]
caption = "Successful Uninstallation"
"Norton AntiVirus was successfully removed from your computer."
""
"In order for changes to startup files to take effect, Norton AntiVirus Install needs to reboot your machine."
""
"Select OK to reboot now. Select CANCEL to exit without rebooting."
;**************************************************************************
;* This message asks the user if we should update their NETSCAPE.INI file *
;**************************************************************************
[MessageUnInstall]
caption = "Uninstall Norton AntiVirus"
"Are you sure you want to uninstall the Norton AntiVirus?"
; ********************************************************************
; Config.sys modifications
; ********************************************************************
[ModifyConfigSys]
caption = "Norton AntiVirus 4.0 -- Modify CONFIG.SYS File"
text1 = "The following changes need to be made to your CONFIG.SYS file:"
FileSpec = C:\CONFIG.SYS
FileType = text
Rem1 = "REM "
FindRems = 0
EditCaption= "Edit CONFIG.SYS"
EditError1 = "A problem was encountered preparing the new config.sys"
EditError2 = " "
EditError3 = "You should:"
EditError4 = "1. Review the lines that need to be added"
EditError5 = "2. Select the 'Save the required changes to new file's option"
EditError6 = "3. Continue and complete the Install Process"
EditError7 = "4. Make the changes to the config.sys file later"
DelItems = ConfigDelItems
RemItems = ConfigRemItems
AddItems = ConfigAddItems
[ConfigRemItems]
*cloaking.exe*
[ConfigDelItems]
*nav\cloaking.exe*
*navtsr*
[ConfigAddItems]
;**************************************************************************
;* Target Selection Stuff *
;**************************************************************************
[TargetToSource]
reset = TARGET
location = %s, SOURCE
[SetupLocation]
location = %s, TARGET
[SIWRemoveSourceDir]
dll = siwcust.dll
function = SIWRemoveSourceDir
[SIWRestoreNetscapeIni]
dll = siwcust.dll
function = SIWRestoreNetscapeIni
[SIWIsNavwLoaded]
dll = siwcust.dll
function = SIWIsNavwLoaded
[DecreaseLiveUpdateCount]
dll = siwcust.dll
function =DecreaseLiveUpdateCount
[SetSystemTarget]
dll = siwcust.dll
function = SIWSetSystemTarget
[UnloadNav]
dll = siwcust.dll
function = SIWUnloadNav
;**************************************************************************
;* Cleanup WIN.INI
;**************************************************************************
[RemNAVTSRW]
navtsrw.exe